package com.guoning.office_system.model;

import java.util.Date;

public class Message {
    private Long id;

    private Long sendUserId;

    private Long acceptUserId;

    private String messageCode;

    private Date sendTime;

    private Integer enableStatus;

    private Integer messageStatus;

    private String creator;

    private Date createTime;

    private Integer dr;

    private String messageContent;

    public Message(Long id, Long sendUserId, Long acceptUserId, String messageCode, Date sendTime, Integer enableStatus, Integer messageStatus, String creator, Date createTime, Integer dr, String messageContent) {
        this.id = id;
        this.sendUserId = sendUserId;
        this.acceptUserId = acceptUserId;
        this.messageCode = messageCode;
        this.sendTime = sendTime;
        this.enableStatus = enableStatus;
        this.messageStatus = messageStatus;
        this.creator = creator;
        this.createTime = createTime;
        this.dr = dr;
        this.messageContent = messageContent;
    }

    public Message() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getSendUserId() {
        return sendUserId;
    }

    public void setSendUserId(Long sendUserId) {
        this.sendUserId = sendUserId;
    }

    public Long getAcceptUserId() {
        return acceptUserId;
    }

    public void setAcceptUserId(Long acceptUserId) {
        this.acceptUserId = acceptUserId;
    }

    public String getMessageCode() {
        return messageCode;
    }

    public void setMessageCode(String messageCode) {
        this.messageCode = messageCode == null ? null : messageCode.trim();
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public Integer getEnableStatus() {
        return enableStatus;
    }

    public void setEnableStatus(Integer enableStatus) {
        this.enableStatus = enableStatus;
    }

    public Integer getMessageStatus() {
        return messageStatus;
    }

    public void setMessageStatus(Integer messageStatus) {
        this.messageStatus = messageStatus;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getDr() {
        return dr;
    }

    public void setDr(Integer dr) {
        this.dr = dr;
    }

    public String getMessageContent() {
        return messageContent;
    }

    public void setMessageContent(String messageContent) {
        this.messageContent = messageContent == null ? null : messageContent.trim();
    }
}